package cn.edu.scujcc.customofsichuan;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import java.util.Map;

import cn.edu.scujcc.customofsichuan.Application.UserApplication;

public class ThridPager_setting_account extends AppCompatActivity implements View.OnClickListener{

    UserApplication userInfo;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_thridpager_setting_account);

        userInfo=UserApplication.getInstance();

        Toolbar account_security = findViewById(R.id.account_security);
        TextView accountNum = findViewById(R.id.account_user_accountNum);
        TextView tel = findViewById(R.id.account_user_tel);


        account_security.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });


        accountNum.setText((CharSequence) userInfo.userMap.get("userAccount"));

    }

    @Override
    public void onClick(View v) {
        Intent intent;
        switch (v.getId()){


        }

    }
}